NSIS-ka
A free C++ implementation of NSIS protocols

Changeset 4162


Ignore:
Timestamp:
Jul 23, 2009, 4:54:25 PM (8 years ago)
Author:
stud-lenk
Message:

Merge r4161 from trunk

Location:
protlib/branches/20090723-multicast
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • protlib/branches/20090723-multicast

  • protlib/branches/20090723-multicast/test/old-tests

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • protlib/branches/20090723-multicast/test/test_address.cpp

    r4157 r4162  
    256256                CPPUNIT_ASSERT( ta.is_multicast() );
    257257        }
    258         void test_multicast_hostaddress() {
    259                 hostaddress ta; // testaddress
    260 
    261                 // Test IPv4 addresses
    262                 ta.set_ipv4("127.0.0.1");
    263                 CPPUNIT_ASSERT( !ta.is_multicast() );
    264 
    265                 ta.set_ipv4("224.0.0.0");
    266                 CPPUNIT_ASSERT( ta.is_multicast() );
    267 
    268                 // Test IPv6 addresses
    269                 ta.set_ip("2001:638:204:1:230:48ff:fec4:813a");
    270                 CPPUNIT_ASSERT( !ta.is_multicast() );
    271                 ta.set_ip("FF01:0:0:0:0:0:0:1");
    272                 CPPUNIT_ASSERT( ta.is_multicast() );
    273         }
    274258};
    275259
Note: See TracChangeset for help on using the changeset viewer.