Package com.sun.jini.test.spec.lookupservice.attribute

Examples of com.sun.jini.test.spec.lookupservice.attribute.Attr12


*/
public class GetFieldValuesNoMatch extends QATestRegistrar {

    public void run() throws Exception {
  Class[] types = {GetFieldValuesNoMatch.class};
  Entry[] ents = {new Attr12()};
  Object[] vals = getProxy().getFieldValues(
         new ServiceTemplate(null, types, ents),
         0, "i0_12");
  if (vals != null) {
      throw new TestException("getFieldValues did not return null");
View Full Code Here


         getProxy());
    }

    public void run() throws Exception {
  try {
      reg.modifyAttributes(new Entry[]{new Attr12()},
         new Entry[]{new Attr12(), new Attr12()});
      throw new TestException("modifyAttributes did not "
          + "throw IllegalArgumentException");
  } catch (IllegalArgumentException e) {
  }
    }
View Full Code Here

    }

    public void run() throws Exception {
  try {
      reg.modifyAttributes(new Entry[]{new Attr08()},
         new Entry[]{new Attr12()});
      throw new TestException("modifyAttributes did not "
          + "throw IllegalArgumentException");
  } catch (IllegalArgumentException e) {
  }
    }
View Full Code Here

*/
public class GetFieldValuesBadField extends QATestRegistrar {

    public void run() throws Exception {
  try {
      Entry[] ents = {new Attr12()};
      getProxy().getFieldValues(new ServiceTemplate(null, null, ents),
              0, "foo");
      throw new TestException("getFieldValues did not "
          + "throw NoSuchFieldException");
  } catch (NoSuchFieldException e) {
View Full Code Here

TOP

Related Classes of com.sun.jini.test.spec.lookupservice.attribute.Attr12

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.