public void TestIfRemoteFromAnnotiationInAMethodIsInJavaValid() { Type testClassType = typeof(TestClassLocalTypeWithLessMethods); LocalType lt = new LocalType(testClassType); Assert.AreEqual<String>(lt.RemoteTypeFullName, "org.test.domain.example." + testClassType.Name); }
public void TestIfRemoteStringIsInJavaValid() { LocalType lt = new LocalType(typeof(String)); Assert.AreEqual<String>(lt.RemoteTypeFullName, "java.lang.String"); }
public void TestIfRemoteIntIsInJavaValid() { LocalType lt = new LocalType(typeof(int)); Assert.AreEqual<String>(lt.RemoteTypeFullName, "java.lang.Integer"); }
public void TestIfRemoteFloatIsInJavaValid() { LocalType lt = new LocalType(typeof(float)); Assert.AreEqual<String>(lt.RemoteTypeFullName, "java.lang.Float"); }
public void TestIfRemoteDictionaryIsInJavaValid() { LocalType lt = new LocalType(typeof(string2stringMapEntry)); Assert.AreEqual<String>(lt.RemoteTypeFullName, "java.util.Map"); }
public void TestIfRemoteAliveStatIsInJavaValid() { LocalType lt = new LocalType(typeof(AliveState)); Assert.AreEqual<String>(lt.RemoteTypeFullName, "org.openengsb.core.api.AliveState"); }