Examples of Vendor


Examples of de.fuberlin.wiwiss.d2rq.sql.vendor.Vendor

    assertEquals("\"table\".\"column\"",
        db.quoteAttribute(new Attribute(null, "table", "column")));
  }
 
  public void testDoubleQuotesInAttributesAreEscaped() {
    Vendor db = Vendor.SQL92;
    assertEquals("\"sch\"\"ema\".\"ta\"\"ble\".\"col\"\"umn\"",
        db.quoteAttribute(new Attribute("sch\"ema", "ta\"ble", "col\"umn")));
  }
View Full Code Here

Examples of de.fuberlin.wiwiss.d2rq.sql.vendor.Vendor

    assertEquals("\"sch\"\"ema\".\"ta\"\"ble\".\"col\"\"umn\"",
        db.quoteAttribute(new Attribute("sch\"ema", "ta\"ble", "col\"umn")));
  }
 
  public void testAttributeQuotingMySQL() {
    Vendor db = Vendor.MySQL;
    assertEquals("`table`.`column`",
        db.quoteAttribute(new Attribute(null, "table", "column")));
  }
View Full Code Here

Examples of jsx.style.Vendor

            for (Entry<Vendor, List<String>> property : properties.entrySet()) {
                String value = I.join(separator, property.getValue());

                if (value.length() != 0) {
                    Vendor vendor = property.getKey();

                    if (!prefixes.contains(vendor)) {
                        vendor = Standard;
                    }
                    holder.put(vendor + name, value);
View Full Code Here

Examples of net.virtuemart.www.VM_Users.Vendor

        String mdate = "";
        String vendor_terms_of_service = "";
        String vendor_image_path = "";
        String vendor_address_2 = "";
        String vendor_currency_display_style = "1|&euro;|2|,||1|8";
        Vendor vendor = new Vendor(wsPosid, hostname, contact_last_name, contact_first_name, contact_middle_name, contact_title, contact_phone_1, contact_phone_2, contact_fax, contact_email, vendor_phone, vendor_address_1, vendor_address_2, vendor_city, vendor_state, vendor_country, vendor_zip, vendor_store_name, vendor_store_desc, vendor_category_id, vendor_thumb_image, vendor_full_image, vendor_currency, cdate, mdate, vendor_image_path, vendor_terms_of_service, vendor_url, vendor_min_pov, vendor_freeshipping, vendor_currency_display_style, vendor_accepted_currencies, vendor_address_format, vendor_date_format);
        AddVendorInput parameters = new AddVendorInput(wsLogin, vendor);
        usersProxy.addVendor(parameters);

        vendors = usersProxy.getAllVendor(wsLogin);
View Full Code Here

Examples of net.virtuemart.www.VM_Users.Vendor

        String mdate = "";
        String vendor_terms_of_service = "";
        String vendor_image_path = "";
        String vendor_address_2 = "";
        String vendor_currency_display_style = "1|&euro;|2|,||1|8";
        Vendor vendor = new Vendor(wsPosid, hostname, contact_last_name, contact_first_name, contact_middle_name, contact_title, contact_phone_1, contact_phone_2, contact_fax, contact_email, vendor_phone, vendor_address_1, vendor_address_2, vendor_city, vendor_state, vendor_country, vendor_zip, vendor_store_name, vendor_store_desc, vendor_category_id, vendor_thumb_image, vendor_full_image, vendor_currency, cdate, mdate, vendor_image_path, vendor_terms_of_service, vendor_url, vendor_min_pov, vendor_freeshipping, vendor_currency_display_style, vendor_accepted_currencies, vendor_address_format, vendor_date_format);
        AddVendorInput parameters = new AddVendorInput(wsLogin, vendor);
        usersProxy.addVendor(parameters);

        vendors = usersProxy.getAllVendor(wsLogin);
View Full Code Here

Examples of npanday.model.settings.Vendor

    {
        DefaultSetup defaultSetup = VendorTestFactory.getDefaultSetup( "MICROSOFT", "2.0.50727", "2.0.50727" );

        //Supported Types
        List<Vendor> vendors = new ArrayList<Vendor>();
        Vendor vendor = new Vendor();
        vendor.setVendorName("MICROSOFT");
        vendor.setVendorVersion("2.0.50727");

        Framework framework = new Framework();
        framework.setFrameworkVersion("2.0.50727");
        framework.setInstallRoot(System.getenv("SystemRoot") + "\\Microsoft.NET\\Framework\\v2.0.50727");
        framework.setSdkInstallRoot(System.getenv("SystemDrive") + "\\Program Files\\Microsoft.NET\\SDK\\v2.0");
        vendor.addFramework( framework );

        vendors.add( vendor );

        SettingsRepository settingsRepository = Factory.createSettingsRepository( vendors, defaultSetup );
        try
View Full Code Here

Examples of npanday.vendor.Vendor

    public void execute()
        throws MojoExecutionException
    {
        for ( WebReference webreference : webreferences )
        {
            Vendor vendor = getCompilerVendor();
            List<String> commands = getCommandsFor( vendor, webreference );

            getLog().debug( "NPANDAY-1300-000: Commands = " + commands.toString() );
            CommandExecutor commandExecutor = CommandExecutor.Factory.createDefaultCommmandExecutor();
            try
            {
                commandExecutor.executeCommand( getExecutableFor( vendor, netHome ), commands );
                getLog().info(
                               "NPANDAY-1300-008: Generated WSDL: File = "
                                   + project.getBuild().getSourceDirectory()
                                   + File.separator
                                   + project.getBuild().getSourceDirectory()
                                   + File.separator
                                   + webreference.getOutput()
                                   + File.separator
                                   + getFileNameFor( project.getBuild().getSourceDirectory() + File.separator
                                       + webreference.getPath() ) );

            }
            catch ( ExecutionException e )
            {
                // TODO: This is a hack to get around the fact that MONO returns a result=1 on warnings and MS returns a
                // result=1 on errors.
                // I don't want to fail on MONO warning here.
                if ( ( vendor.equals( Vendor.MONO ) && commandExecutor.getResult() > 1 )
                    || vendor.equals( Vendor.MICROSOFT ) )
                {
                    throw new MojoExecutionException( "NPANDAY-1300-001: Result = " + commandExecutor.getResult(), e );
                }
            }
        }
View Full Code Here

Examples of npanday.vendor.Vendor

    }

    private Vendor getCompilerVendor()
        throws MojoExecutionException
    {
        Vendor vendor;
        PlatformDetector platformDetector = PlatformDetector.Factory.createDefaultPlatformDetector();
        if ( isEmpty( netHome ) )
        {
            try
            {
                vendor = platformDetector.getVendorFor( "wsdl", null );
            }
            catch ( PlatformUnsupportedException e )
            {
                throw new MojoExecutionException( "NPANDAY-1300-009", e );
            }
        }
        else
        {
            File file = new File( netHome );
            if ( !file.exists() )
            {
                throw new MojoExecutionException(
                                                  "NPANDAY-1300-006: Unable to locate netHome - make sure that it exists:"
                                                      + " Home = " + netHome );
            }
            try
            {
                vendor =
                    platformDetector.getVendorFor( null, new File( file.getAbsolutePath() + File.separator + "bin"
                        + File.separator + "wsdl" ) );
            }
            catch ( PlatformUnsupportedException e )
            {
                throw new MojoExecutionException( "NPANDAY-1300-010", e );
            }

        }
        getLog().info( "NPANDAY-1300-007: WSDL Vendor found: " + vendor.getVendorName() );
        return vendor;
    }
View Full Code Here

Examples of npanday.vendor.Vendor

            // nunit-console-x86 is included since 2.4.2 (August 2007, http://www.nunit.org/index.php?p=releaseNotes&r=2.4.3)
            exe = "nunit-console" + (forceX86 ? "-x86" : "");

            if ( vendorInfo != null )
            {
                Vendor vendor = vendorInfo.getVendor();
                String frameworkVersion = vendorInfo.getFrameworkVersion();
                if ( "MONO".equals( vendor.getVendorName() ) )
                {
                    if ( frameworkVersion == null || !frameworkVersion.startsWith( "1.1" ) )
                    {
                        exe = "nunit-console2";
                    }
View Full Code Here

Examples of npanday.vendor.Vendor

            + exe : exe;
    }

    private List<String> getCommandsFor( VendorInfo vendorInfo )   
    {
        Vendor vendor = vendorInfo.getVendor();
        String finalName = project.getBuild().getFinalName();
        List<String> commands = new ArrayList<String>();
        if ( testAssemblyPath.startsWith( "/" ) )// nunit-console thinks *nix file format /home/user/ is an option
                                                    // due to / and fails.
        {
            testAssemblyPath = "/" + testAssemblyPath;
        }



        if(integrationTest)
        {
            // use the artifact itself if its an integration
            commands.add( testAssemblyPath + File.separator + project.getArtifactId() + ".dll" );
        }
        else
        {
            // if not use the commpiled test
            commands.add( testAssemblyPath + File.separator + project.getArtifactId() + "-test.dll" );
        }

        String switchChar = "/";

        String vendorName = vendor.getVendorName();
        if ( vendor != null && "MONO".equals( vendorName ) )       
        {
            switchChar = "-";
        }
        commands.add( switchChar + "xml:" + nUnitXmlFilePath.getAbsolutePath() );
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.