1/* 2 * Copyright 2014 Haiku, inc. 3 * Distributed under the terms of the MIT License. 4 */ 5#ifndef URL_TEST_H 6#define URL_TEST_H 7 8 9#include <TestCase.h> 10#include <TestSuite.h> 11 12 13class UrlTest: public BTestCase { 14public: 15 UrlTest(); 16 virtual ~UrlTest(); 17 18 void ParseTest(); 19 void TestIsValid(); 20 void TestGettersSetters(); 21 void TestNullity(); 22 void TestCopy(); 23 void ExplodeImplodeTest(); 24 void PathOnly(); 25 void RelativeUriTest(); 26 void IDNTest(); 27 28 static void AddTests(BTestSuite& suite); 29}; 30 31 32#endif 33