mirror of
https://github.com/fankes/JSON-java-compat.git
synced 2025-09-06 18:55:30 +08:00
added complete tests
This commit is contained in:
29
tests/SampleResourceBundle_en_US.java
Normal file
29
tests/SampleResourceBundle_en_US.java
Normal file
@@ -0,0 +1,29 @@
|
||||
/*
|
||||
* File: SampleResourceBundle_en_US.java
|
||||
* Author: JSON.org
|
||||
*/
|
||||
package org.json.tests;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* The Class SampleResourceBundle_en_US.
|
||||
*/
|
||||
public class SampleResourceBundle_en_US extends ListResourceBundle {
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see java.util.ListResourceBundle#getContents()
|
||||
*/
|
||||
@Override
|
||||
public Object[][] getContents() {
|
||||
return contents;
|
||||
}
|
||||
|
||||
/** The contents. */
|
||||
private Object[][] contents = {
|
||||
{ "ASCII", "American Standard Code for Information Interchange" },
|
||||
{ "JAVA.desc", "Just Another Vague Acronym" },
|
||||
{ "JAVA.data", "Sweet language" },
|
||||
{ "JSON", "JavaScript Object Notation" },
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user