/** Test of getDesignator method, of class DefaultPeriodDuration. */ @Test public void testGetDesignator() { InternationalString result = periodDuration1.getDesignator(); assertEquals(periodDuration2.getDesignator(), result); }
/** Test of getMinutes method, of class DefaultPeriodDuration. */ @Test public void testGetMinutes() { InternationalString result = periodDuration1.getMinutes(); assertFalse(periodDuration2.getMinutes().equals(result)); }
/** Test of getSeconds method, of class DefaultPeriodDuration. */ @Test public void testGetSeconds() { InternationalString result = periodDuration1.getSeconds(); assertFalse(periodDuration2.getSeconds().equals(result)); }
/** Test of getTimeIndicator method, of class DefaultPeriodDuration. */ @Test public void testGetTimeIndicator() { InternationalString result = periodDuration1.getTimeIndicator(); assertEquals(periodDuration2.getTimeIndicator(), result); }
/** Test of setMinutes method, of class DefaultPeriodDuration. */ @Test public void testSetMinutes() { InternationalString result = periodDuration1.getMinutes(); ((DefaultPeriodDuration) periodDuration1).setMinutes(new SimpleInternationalString("4")); assertFalse(periodDuration1.getMinutes().equals(result)); }
/** Test of setSeconds method, of class DefaultPeriodDuration. */ @Test public void testSetSeconds() { InternationalString result = periodDuration1.getSeconds(); ((DefaultPeriodDuration) periodDuration1).setSeconds(new SimpleInternationalString("3")); assertFalse(periodDuration1.getSeconds().equals(result)); }
/** Test of setMonths method, of class DefaultPeriodDuration. */ @Test public void testSetMonths() { InternationalString result = periodDuration1.getMonths(); ((DefaultPeriodDuration) periodDuration1).setMonths(new SimpleInternationalString("13")); assertFalse(periodDuration1.getMonths().equals(result)); }
/** Test of setYears method, of class DefaultPeriodDuration. */ @Test public void testSetYears() { InternationalString result = periodDuration1.getYears(); ((DefaultPeriodDuration) periodDuration1).setYears(new SimpleInternationalString("12")); assertFalse(periodDuration1.getYears().equals(result)); }
/** * Test of getTimeIndicator method, of class DefaultPeriodDuration. */ @Test public void testGetTimeIndicator() { InternationalString result = periodDuration1.getTimeIndicator(); assertEquals(periodDuration2.getTimeIndicator(), result); }
/** * Test of getMinutes method, of class DefaultPeriodDuration. */ @Test public void testGetMinutes() { InternationalString result = periodDuration1.getMinutes(); assertFalse(periodDuration2.getMinutes().equals(result)); }
/** * Test of getSeconds method, of class DefaultPeriodDuration. */ @Test public void testGetSeconds() { InternationalString result = periodDuration1.getSeconds(); assertFalse(periodDuration2.getSeconds().equals(result)); }
/** Test of setHours method, of class DefaultPeriodDuration. */ @Test public void testSetHours() { InternationalString result = periodDuration1.getHours(); ((DefaultPeriodDuration) periodDuration1).setHours(new SimpleInternationalString("1")); assertFalse(periodDuration1.getHours().equals(result)); }
/** * Test of getDesignator method, of class DefaultPeriodDuration. */ @Test public void testGetDesignator() { InternationalString result = periodDuration1.getDesignator(); assertEquals(periodDuration2.getDesignator(), result); }