public static void main(String[] args)
	{
		if (args.length != 1)
			System.out.println("Please specify a Unit Test Case name");
		else
		{
			LogQuerierTest lqTest = new LogQuerierTest();
			if(args[0].compareTo("-generateLogs") == 0)
			{
				lqTest.genrateLogFiles();
				return;
			}
			if((new File("unit_tests/" + args[0])).exists())
			{
				String unitTestName = args[0];
				try
				{
					Properties prop = new Properties();
					FileInputStream fis = new FileInputStream("unit_tests/" + unitTestName + "/unit_test.prop");
					prop.load(fis);
					fis.close();
					
					if(lqTest.executeDistributedQuery(prop.getProperty("key"), prop.getProperty("value"), unitTestName) &&
					lqTest.cleanUpDistributedOutput(unitTestName) &&
					lqTest.executeLocalQuery(prop.getProperty("key"), prop.getProperty("value"), unitTestName) &&
					lqTest.compareOutputs(unitTestName))
						System.out.println("Unit Test Case : " + unitTestName + " was SUCCESSFULLY executed");
					else
						System.out.println("Unit Test Case : " + unitTestName + " FAILED");
				}
				catch(IOException ioe)
				{
					System.out.println("ERROR : Exeception while executing unit test : " + unitTestName);
				}
			}
			else
			{
				System.out.println("ERROR : Invalid Unit Test Case name. Please enter a valid Unit Test Case name");
			}
		}
	}