summaryrefslogtreecommitdiff
path: root/projects/net.wotonomy.foundation/src/test/java/net/wotonomy/foundation/NSBundleTest.java
diff options
context:
space:
mode:
authorBenjamin Culkin <scorpress@gmail.com>2024-05-20 17:58:16 -0400
committerBenjamin Culkin <scorpress@gmail.com>2024-05-20 17:58:16 -0400
commit40a9d99496e098562f090fb7ffce9e749011b131 (patch)
tree437df24d65470582e943e494a52db8ed65a881ae /projects/net.wotonomy.foundation/src/test/java/net/wotonomy/foundation/NSBundleTest.java
parentff072dfe782f6f22123cd4ba050828d35c0d0fbd (diff)
Formatting pass
Diffstat (limited to 'projects/net.wotonomy.foundation/src/test/java/net/wotonomy/foundation/NSBundleTest.java')
-rw-r--r--projects/net.wotonomy.foundation/src/test/java/net/wotonomy/foundation/NSBundleTest.java219
1 files changed, 85 insertions, 134 deletions
diff --git a/projects/net.wotonomy.foundation/src/test/java/net/wotonomy/foundation/NSBundleTest.java b/projects/net.wotonomy.foundation/src/test/java/net/wotonomy/foundation/NSBundleTest.java
index d441bec..3945f4a 100644
--- a/projects/net.wotonomy.foundation/src/test/java/net/wotonomy/foundation/NSBundleTest.java
+++ b/projects/net.wotonomy.foundation/src/test/java/net/wotonomy/foundation/NSBundleTest.java
@@ -30,7 +30,7 @@ public class NSBundleTest extends TestCase {
public NSBundleTest(String arg0) {
super(arg0);
}
-
+
protected void setUp() throws Exception {
super.setUp();
}
@@ -39,141 +39,92 @@ public class NSBundleTest extends TestCase {
super.tearDown();
}
/*
- public void testNSBundle() {
- //TODO Implement NSBundle().
- fail("Test not implemented.");
- }
-
- public void testBundleForClass() {
- //TODO Implement bundleForClass().
- fail("Test not implemented.");
- }
- */
-
- public void testBundleWithURL() throws Exception{
+ * public void testNSBundle() { //TODO Implement NSBundle().
+ * fail("Test not implemented."); }
+ *
+ * public void testBundleForClass() { //TODO Implement bundleForClass().
+ * fail("Test not implemented."); }
+ */
+
+ public void testBundleWithURL() throws Exception {
/*
- URL url = new File(System.getProperty("user.dir")+"/target/test-classes/TestBundle.framework").toURI().toURL();
- System.out.println(url.toString());
- NSBundle bundle = NSBundle.bundleWithURL(url);
- Assert.assertNotNull(bundle);
- Assert.assertEquals("TestBundle",bundle.name());
- Assert.assertEquals(true,bundle.isFramework());
- Properties p = bundle.properties();
- Assert.assertNotNull(p);
- Assert.assertEquals("TestValue",p.getProperty("TestKey"));
- */
+ * URL url = new File(System.getProperty("user.dir")+
+ * "/target/test-classes/TestBundle.framework").toURI().toURL();
+ * System.out.println(url.toString()); NSBundle bundle =
+ * NSBundle.bundleWithURL(url); Assert.assertNotNull(bundle);
+ * Assert.assertEquals("TestBundle",bundle.name());
+ * Assert.assertEquals(true,bundle.isFramework()); Properties p =
+ * bundle.properties(); Assert.assertNotNull(p);
+ * Assert.assertEquals("TestValue",p.getProperty("TestKey"));
+ */
}
/*
- public void testBundleForName() {
- //TODO Implement bundleForName().
- fail("Test not implemented.");
- }
-
- public void testFrameworkBundles() {
- //TODO Implement frameworkBundles().
- fail("Test not implemented.");
- }
-
- public void testSetMainBundle() {
- //TODO Implement setMainBundle().
- fail("Test not implemented.");
- }
-
- public void testMainBundle() {
- //TODO Implement mainBundle().
- fail("Test not implemented.");
- }
-
- public void testDefaultLocalePrefix() {
- //TODO Implement defaultLocalePrefix().
- fail("Test not implemented.");
- }
-
- public void testFindOrCreateBundleWithPath() {
- //TODO Implement findOrCreateBundleWithPath().
- fail("Test not implemented.");
- }
-
- public void testBundleClassPackageNames() {
- //TODO Implement bundleClassPackageNames().
- fail("Test not implemented.");
- }
-
- public void testBundlePath() {
- //TODO Implement bundlePath().
- fail("Test not implemented.");
- }
-
- public void testBytesForResourcePath() {
- //TODO Implement bytesForResourcePath().
- fail("Test not implemented.");
- }
-
- public void testBundleClassNames() {
- //TODO Implement bundleClassNames().
- fail("Test not implemented.");
- }
-
- public void testInfoDictionary() {
- //TODO Implement infoDictionary().
- fail("Test not implemented.");
- }
-
- public void testInputStreamForResourcePath() {
- //TODO Implement inputStreamForResourcePath().
- fail("Test not implemented.");
- }
-
- public void testIsFramework() {
- //TODO Implement isFramework().
- fail("Test not implemented.");
- }
-
- public void testLoad() {
- //TODO Implement load().
- fail("Test not implemented.");
- }
-
- public void testName() {
- //TODO Implement name().
- fail("Test not implemented.");
- }
-
- public void testPrincipalClass() {
- //TODO Implement principalClass().
- fail("Test not implemented.");
- }
-
- public void testProperties() {
- //TODO Implement properties().
- fail("Test not implemented.");
- }
-
- public void testResourcePathForLocalizedResourceNamed() {
- //TODO Implement resourcePathForLocalizedResourceNamed().
- fail("Test not implemented.");
- }
-
- public void testResourcePathsForDirectories() {
- //TODO Implement resourcePathsForDirectories().
- fail("Test not implemented.");
- }
-
- public void testResourcePathsForLocalizedResources() {
- //TODO Implement resourcePathsForLocalizedResources().
- fail("Test not implemented.");
- }
-
- public void testResourcePathsForResources() {
- //TODO Implement resourcePathsForResources().
- fail("Test not implemented.");
- }
-
- public void testToString() {
- //TODO Implement toString().
- fail("Test not implemented.");
- }
-
- */
+ * public void testBundleForName() { //TODO Implement bundleForName().
+ * fail("Test not implemented."); }
+ *
+ * public void testFrameworkBundles() { //TODO Implement frameworkBundles().
+ * fail("Test not implemented."); }
+ *
+ * public void testSetMainBundle() { //TODO Implement setMainBundle().
+ * fail("Test not implemented."); }
+ *
+ * public void testMainBundle() { //TODO Implement mainBundle().
+ * fail("Test not implemented."); }
+ *
+ * public void testDefaultLocalePrefix() { //TODO Implement
+ * defaultLocalePrefix(). fail("Test not implemented."); }
+ *
+ * public void testFindOrCreateBundleWithPath() { //TODO Implement
+ * findOrCreateBundleWithPath(). fail("Test not implemented."); }
+ *
+ * public void testBundleClassPackageNames() { //TODO Implement
+ * bundleClassPackageNames(). fail("Test not implemented."); }
+ *
+ * public void testBundlePath() { //TODO Implement bundlePath().
+ * fail("Test not implemented."); }
+ *
+ * public void testBytesForResourcePath() { //TODO Implement
+ * bytesForResourcePath(). fail("Test not implemented."); }
+ *
+ * public void testBundleClassNames() { //TODO Implement bundleClassNames().
+ * fail("Test not implemented."); }
+ *
+ * public void testInfoDictionary() { //TODO Implement infoDictionary().
+ * fail("Test not implemented."); }
+ *
+ * public void testInputStreamForResourcePath() { //TODO Implement
+ * inputStreamForResourcePath(). fail("Test not implemented."); }
+ *
+ * public void testIsFramework() { //TODO Implement isFramework().
+ * fail("Test not implemented."); }
+ *
+ * public void testLoad() { //TODO Implement load().
+ * fail("Test not implemented."); }
+ *
+ * public void testName() { //TODO Implement name().
+ * fail("Test not implemented."); }
+ *
+ * public void testPrincipalClass() { //TODO Implement principalClass().
+ * fail("Test not implemented."); }
+ *
+ * public void testProperties() { //TODO Implement properties().
+ * fail("Test not implemented."); }
+ *
+ * public void testResourcePathForLocalizedResourceNamed() { //TODO Implement
+ * resourcePathForLocalizedResourceNamed(). fail("Test not implemented."); }
+ *
+ * public void testResourcePathsForDirectories() { //TODO Implement
+ * resourcePathsForDirectories(). fail("Test not implemented."); }
+ *
+ * public void testResourcePathsForLocalizedResources() { //TODO Implement
+ * resourcePathsForLocalizedResources(). fail("Test not implemented."); }
+ *
+ * public void testResourcePathsForResources() { //TODO Implement
+ * resourcePathsForResources(). fail("Test not implemented."); }
+ *
+ * public void testToString() { //TODO Implement toString().
+ * fail("Test not implemented."); }
+ *
+ */
}