Test code and Source separated

I have created a new project in Flex 2 and like any good developer trying to write tests for it. In the past I had to put my test classes in the same folder as my source code. I know that it was not get compiled into the project, but it is always nice to them in separate folders.

Is there a way to take care of this with Flex Builder 2?

Thank you
Jason

I got it.

My way to build Flex includes my test folder. I can reference directly. Adds a different path from the source to the main root, but it is just a link in the file system. That's ok with me. Unfortunately, I must leave the TestAll (my Tester in the main tree).

So my background sounds to...
c:/dev/.../MyApp/main/main. MXML
c:/dev/.../MyApp/main/TestAll.mxml
c:/dev/.../MyApp/main/Flex/com/.../player/foo. ACE
c:/dev/.../MyApp/test/Flex/com/.../player/FooTest.as

Tags: Flex

Similar Questions

  • Mysterious < br > tag in live code, and not in the source code

    I have a problem here, as mentioned above, with ma page Web.  When you go to this link:

    www.tsohngyun.com

    you will find a space perfectly size between menu horizontal blue and red background that lines on two images (image of the handshake, 'Welcome to the Master Insurance Agency' image).  When I look at to inspect the Web site in Dreamweaver in live code, I noticed a < br > tag sitting just before the tag of table containing the red background.  However, when I go back to the source code, the < br > tag is not found by the opening table tag.

    How can I change something that is not in the source code?  I want to get rid of this gap! Help, please!

    And this
    tag does not exist in the source code of your Dreamweaver? Really?  Because it is based on what I see in your code, you
    Tags on line 31, line 35, line 42, line 45 and 49 of your code line.

    Dreamweaver in code and design split view and see if you can spot the
    tags in your code (can even use useful tool to search and replace in Dreamweaver to find each istance of the)
    tag in your code.) Now, not all of the
    the tags are innapropriate so don't remove them just good willy nilly.

    In any case, hope this helps.

  • HR HTML 9.02 and Source Control 3.1 will not save files in design mode, only the HTML view.

    We use RoboHelp 9.02 (just 9 and charged the next day so up-to-date, we 9,02) and Robo Source Control 3.1 and when we check a file and change the file, we can not save the file in Design view.  If we click on the HTML mode, we can save the file.  We have reproduced this on multiple files at the same time our computers accessing the server.  Now using RoboHelp HTML on a local project is functioning normally, only when we have access to the files on the server we select the HTML mode in order to save the topic.

    While this is an acceptable work around short term, we need this bug to get fixed unless someone knows of a checkbox somewhere that we must check in design mode to record and studied.

    I will be happy to provide you with any input and or test the additional fixes to help to fix this bug.  It is completely reproducible and constant on all tested subjects.  Source code control works insofar as this case the subject is verified by one the other cannot access the topic.  Once the topic is saved in HTML, then the subject can be archived and changes are visible by the other author.

    After the installation of Robo 9, Adobe Acrobat Professional 8 has been removed from the computer and MS Word 2000 did not work.  I've upgraded to Office/Word 2003 and I can now use Word 2003.  I have not attempted to reload Acrobat yet but that is next on my list.  Acrobat Professional was removed from these two computers during the installation.  Word 2000 exists only on the laptop.  I was in the queue to get updated later in the year, so they gave me a key and Word 03 seems to operate normally.  Did not check the Excel or PowerPoint 2000.

    Other news, you may be interested to know:

    • Both computers use Windows XP.
    • Both have office 2003.  -C' is because Word 2000 stopped working when Robo 9 has been installed.
    • Both have with max memory 32-bit operating systems.
    • Both have multiple monitors.
    • One is a laptop, the other is a desktop computer.
    • Both computers had 8.02 Robo? but RH8 was uninstalled before installing RH9.
    • 3.1 source code control has not been reinstalled on the server since version was the same that came with RH9
    • Source control has been reinstalled as a step of troubleshooting on the laptop without change.
    • RSO3 middle-tier service is running on all 3 computers and RSO3 server runs on the server pc.
    • Two users have administrator rights so all of the checkboxes are checked for access and control.

    Kind regards

    DV

    Having identified some problems in our global variable file in another project, I had a look at this project and found a few variables were empty, have a mystery character input or information applied to the variable fonts.  Rather than change back the variable only one digit or a character with no set form and text input in variables of the virgins, I deleted the unused variables of the project that just happened to 99% of the variables because we divided this part of the project in a booth along the project.  Remove the variables solved the problem where we had to switch from Design view to HTML view in order to save a topic.  I find this rather strange since none of the topics referenced stray variables.  Now we have only the variable of the version that refers to all subjects in the foot.  Everything seems to work fine now.  If you encounter this problem, have a good look at your file of global variables, line by line, to see if there is something other than text or numbers and delete everything except for the text.

    DV

  • Custom Logging Codes and Messages database options

    I use TestStand 4.5 with the provided standard SQL database schema. I noticed that in the table UUT_RESULT the only time where what a UUT_ERROR_CODE or a UUT_ERROR_MESSAGE is written is when the UUT_STATUS is error. I would like to be able to connect our custom FileGlobals.Error_code and FileGlobals.Error_text in these fields when the UUT fails a test.

    I'm rather not change the schema but just get help on how to get my global variables in the correct fields.

    Thanks in advance.

    Steve

    Steve-

    To accomplish what you're trying to do, IE. the value of the message and the error code USE without updating the database schema, you would have to change the entry points for Single Pass and Test UUT for patterns that you use. You must add a step after the MainSequence called step that evaluates if the call to MainSequence failed and if that were the case, change the last result placed in the Locals.ResultList table. You must set the Locals.ResultList [x]. Error.Code and Locals.ResultList [0]. Error.Msg properties on this result for the global values you mentioned. If overall file values in the template file, then this is an easy task. If the global file value is in the customer file or another file, you will need succeed somehow to the entry point. Many options: store values in station model and global entry point will recover, have value assign customer at the local level in the point of entry using expression as RunState.Root.Locals... or create temporary properties on Execution.RunTimeVariables that contains the model entry point access determine if exists and pull values of. You will need to make sure that the previous values are disabled before the next USE. I hope this helps...

  • The create a System Image will save the FPGA code and the RT code?

    I have some cRIO systems which were broadcast in our manufacturing plant for some time. A slight problem has been discovered in the programming and created a workaround solution, but a fix should be implemented. Currently, I have no way to test my new code without loading on the cRIO and it works on the tool while the product is running. If there is a problem and I need to do some debugging, the tool cannot be down for an extended period. I would write a vi that will save an image of the cRIO so I can reload the software that is currently running and prevent a situation of prolonged downtime.

    My question is, when I did in the past with a product that has different tests, calibration and the final client software RT, it seems that the code FPGA not be saved (not a big deal at the time since the new FPGA code was compatible with different deployments RT). The new FPGA code won't be compatible with the old RT software, so now I'm worried. I would like to just check on it until I have all the boss breathing down my neck. If the service will not save the bitfile FPGA, is there anything else I can do for the tool to return to the previous running state while I solved problems that may exist with the new code review? The original code was lost by my predecessor. Otherwise, I would use just that.

    Hi Jeremy,.

    You are right, because the create a System Image does not record the bitfile with the image of the RT. Using the configuration system API, you will need to deploy the RT image and then the bitfile FPGA compiled later. To ensure that you can return to the previous version of the software running on your RIOs, you could simply save the current image and bitfile before deploying the new image and bitfile.

    However, the best way to proceed is to use replication Deployment Utility (RAD of OR). I have provided the link to the tutorial on the wheel, where you can download the utility. This exe will make images of the any of your RT targets and will also include the bitfiles with them. You can also deploy these images to several targets at once. In particular, you can read about the Bitfile (s) configure for FPGA Deployment Flash; the bitfile will be deployed at the start when stored in flash memory.

    Replication and deployment (RAD) utility-

    http://www.NI.com/example/30986/en/

  • test code doesn't have a hard drive (305) made this means broken hard drive

    I did diagnostic check laptop cos running rough. get message saying failed the test of hard drive full hard disk1 (305)

    This means my hard drive is broken also get rather awkward ideas noise type please?

    Hello

    305 error code is a failure of the complete (Full) disk Self Test (DST) and would indicate that hard is defective and must be replaced.

    If your laptop is still under warranty, contact HP and arrange for the disk replaced - you can check the status of your warranty here.

    If you live in the United States, contact HP here.

    If you are in another part of the world, begin here.

    If you are out of warranty and would like a guide to replacing the hard drive yourself, please let me know - include the full model number and the laptop Nr - see here for an explanation.

    Kind regards

    DP - K

  • Zebra lp 2844 will display the test page and it will send a label when I try to print a barcode, but no barcode on the label (print of Dolphin fleet Software)

    bar code will not print even if it will advance a label with nothing on it and display the test devices and printers page, it worked on windows XP, then I downloade on new probook with windows 7 and this is what I have. Thank you

    Hi Rob,

    Welcome to the Microsoft Community Forums.

    According to the description, it seems that you are facing problems while trying to print the bar code using software from Dolphin fleet. I'll be happy to help you with this problem.

    (1) did you do changes on the computer before this problem?

    I would say to contact Dolphin fleet Software support for assistance.

    https://km.Zebra.com/kb/index?page=home

    I hope it helps. If you have any questions about Windows in the future, please let us know. We will be happy to help you.

  • Is there a complete list of the event log error codes and their meanings

    I found a number of online search tools, but I just want a sheet of calculation/text file that lists all event codes view log.

    Anyone know where I can find this information?

    It does not exist.

    For reports on Windows XP Event Viewer and older versions of this web site are as useful as any:
    http://www.EventID.NET/

    For Vista and Windows 7 Google is the best source of information. Search for selected text in the Description part of the report (not of the particular words of phrases) that "this exact word or phrase" Gets the best results. Focus on Social Technet and Microsoft Answers reports in the last 12 months. Look elsewhere if a response is difficult to find.

    Here are some notes on the event viewer reports that can help you. When you have a lot of mistakes, you need to focus on system errors and warnings, even if it's the applications that are giving you grief. Problems with the first sorting system can do the easier application problems. Note the time that the computer is started last and deal first with those at the beginning of the boot. Correct previous errors can be solved later.

    1. normally, when an error occurs on your computer looking in Event Viewer should be your starting point to find a solution. More related system errors are recorded and get an exact copy of the relevant report is important. Unfortunately, is not easy to understand reports and most of the users computer need help with their interpretation. I have to say later interpretation.

    2 Event Viewer includes four major newspapers in Windows. These are application, security and system with Applications and Service logs as a source more details... For purposes of troubleshooting system is by far the most important.

    3. to access the system log, select Start, Control Panel, administrative tools, Event Viewer, in the list on the left of the window select Windows and the system logs. Place the cursor on the system, right click and select filter current log. Check the front of the error and click OK and see you only reports errors. Click the Date and time column header to sort. You may need to click a second time to see the last report above.

    4. a tip for posting copies of error reports! Run Event Viewer and double-click the error you want to copy. Click the button copy on the general tab allows you to place a copy in the Clipboard and close Event Viewer. Now start your message and paste it into the body of the message. Make sure that it is the first dough right out of the event viewer.

    5. He cautioned against three types of reports, information, and reports errors. In most situations, it is the error reports that offer the best information but sometimes WARNING reports provide useful clues.

    6. all reports have stamps date and hour and when troubleshooting, it is important to focus on the latest reports. Reports of studies from the point when the computer is started, and then check if a similar report appeared in the previous session. If errors do not repeat investigation as to why they happen is wasted effort.

    7. in the individual reports the most important information is the event ID and Source such as these help when looking for help on the internet. The description is just as important and copy the exact text to use as search criteria greatly helps achieve better results when using Google. Not paraphrase descriptions when other people asking for help.

  • popular error; An error occurred when opening a virtual disk. Make sure that the converter server and source running machines have network access to the ESX/ESXi hosts source and destination.

    Once again; same problem, others have encountered but nothing seems to work.

    An error occurred when opening a virtual disk. Make sure that the converter server and source running machines have network access to the ESX/ESXi hosts source and destination.

    We have 1 physical servers, we need to see. Here is the environment. All 3 separated location, 3 all firewall separated

    1 physical servers

    -Internal IP address; 172.16.160.21
    -FARM Firewall

    vCenter Server

    -Internal IP address; 172.16.1.85

    -Local Office (ALX)

    Location of destination (ESXi host):

    -Internal IP address; 172.16.153.20

    -Firewall ROOMMATE


    Already completed:

    VMware KB: disable SSL on VMware Converter Standalone 5.x encryption   SSL disabled in converter-worker

    Firewall are open / Tunnel is open throughout the environment.

    I have attached the logs.

    Thank you very much

    POCEH; Thanks for the reply. But I wouldn't be pulling my gray hair if I knew what the problem was. I understand that there not for the peer but why...?

  • Converter does not have "an error occurred when opening a virtual disk. Verify that the Converter server and source running machines have network access to the ESX/ESXi hosts source and destination. »

    Hi all

    I'm having some trouble converting server physical windows using autonomous vConverter 5.5.

    error message:

    "An error occurred when opening a virtual disk. Verify that the Converter server and source running machines have network access to the ESX/ESXi hosts source and destination. "

    I have attached the bundle newspapers. Please notify.

    See you soon...

    Your error is:

    2014-11 - 04T 18: 27:27.587 - 08:00 [01236 info "Default"] GetManagedDiskName: Get disklib file name as vpxa-nfcssl: / / [a0110-vmgt70-001] WIN-MOVRCVCSITG/WIN-MOVRCVCSITG.vmdk@a0110tesxhyp01.datacenter.telenorservices.com: 902! 2 b 52 87 75 03 03 ff 49-67 2f 3 a 61 76 and 00 cd e1

    2014-11 - 04T 18: 27:27.587 - 08:00 [01236 WARNING 'Default'] [, 0] NfcNewAuthdConnectionEx [NFC ERROR]: unable to connect to peer. Error: Failed to search for host for a0110tesxhyp01.datacenter.telenorservices.com server address: the requested name is valid, but no data of the requested type was found

    2014-11 - 04T 18: 27:27.587 - 08:00 [01236 info "Default"] Sysimgbase_DiskLib_OpenWithPassPhrase failed with 'NBD_ERR_NETWORK_CONNECT' (error code: 2338)

    Check the manual on the required ports.

    HTH

  • How can I install additional Typekit fonts in Muse design and verification, code and server?

    I'm designing a website for a client and need two policies that we have access to through our respective CC subscriptions. Fonts are only accessible by creating a typekit. I do not have a server on which to install the typekit said until the site is online. In the meantime, I want to use these fonts for audit purposes, and they are not available in the menu font. I understand that there is some HTML code to put in the header so that the appropriate fonts are used on the site online. But how do I actually work with these fonts when designing and proofing exclusion using Fund policies?

    Hi kharchi,.

    Currently, you can only use and preview the free and open-source Typekit fonts in Muse. Adding additional Typekit fonts requires little code and a site online to preview fonts.

    If you are uncomfortable with a bit of HTML/CSS, the Muse Insider wrote a post on how to insert the Typekit include the code of the interface of Muse:

    http://museinsider.com/how-to-add-Typekit-fonts-to-your-Muse-site.html

    Or you can add the embed code to the Properties dialog box of the Page within the Muse, which will include in theof the page when you export your Web site.

    However, we do see the value of being able to design in Muse with all fonts in your Typekit library. This will require greater integration between Typekit & Muse. I'll give you a big boost for the team in this way for you.

    Let me know if you have any questions and thanks for your patience.

    See you soon,.

    Benjamin

  • EJB RuntimeException - code Uncompilable source (JPA EA 5)

    Hi all

    I just came across this error message when you run a Java EE 5 APP EmployeeService application but do not understand why this happens:

    HTTP status 500-
    Type Exception report
    Description: The server encountered an internal eror() that prevents to meet this demand
    Exception: javax.ejb.EJBException.
    The complete exception stack traces and its root causes are available in newspapers of Sun GlassFish Enterprise Server v2.1:
    * EJB5018: An exception was thrown during a call ejb on [EmployeeServiceBean] *.
    javax.ejb.EJBException

    to $Proxy34.addEmployeeProject (Unknown Source)
    at examples.servlet.EmployeeServlet.doPost(EmployeeServlet.java:51)

    Caused by: java.lang.RuntimeException: code Uncompilable source
    at examples.model.Project.addEmployee(Project.java:49)
    at examples.stateless.EmployeeServiceBean.addEmployeeProject(EmployeeServiceBean.java:31)
    Excerpts from the code of both the entity and session beans:

    @Entity 13
    14/public class project implements Serializable {}
    @Id 15 @GeneratedValue (strategy = GenerationType.IDENTITY)
    ID of 16 int protected;
    17 protected String name;
    18 @ManyToMany (mappedBy = "projects")
    19 employees of Collection < employee > private;
    20
    21 public Project() {}
    22 employees = new ArrayList < employee > ();
    23}
    24
    25 public int getId() {}
    26 return id;
    27}
    28
    29 public void setId (int projectNo) {}
    30 this.id = projectNo;
    31}
    32
    33 public String getName() {}
    34 return name;
    35}
    36
    37 public void setName (String projectName) {}
    38 myIdName = projectName;
    39}
    40
    41 public Collection < employee > getEmployees() {}
    42 employees back;
    43}
    44
    {45 public Sub addEmployee (employee)
    46 if (! getEmployees () .contains (employee)) {}
    47 getEmployees () .add (employee);
    48}
    49 if (! employee.getProjects () .contains (this)) {}
    50 employee.getProjects () .add (this);
    51}
    52}
    53
    54 public String toString() {}
    55 return "project id:" + getId() + ", name:" "+ getName() +".
    56"with" getEmployees () () .size + "employees";
    57}
    58}

    @Entity 15
    16 public class Employee implements Serializable {}
    @Id 17 @GeneratedValue (strategy = GenerationType.IDENTITY)
    18 private int id;
    19 private String name;
    20 long treatment private;
    21
    22 @ManyToMany
    @JoinTable 23 (name = "EMP_PROJ",
    joinColumns=@JoinColumn (name = "EMP_ID") 24,
    25 inverseJoinColumns=@JoinColumn (name = "PROJ_ID"))
    26 projects private Collection < Project >;
    27
    28
    29 public Employee() {}
    30 projects = new ArrayList < Project > ();
    31}
    32
    33 public int getId() {}
    34 return id;
    35}
    36
    37 public void setId (int id) {}
    38 this.id = id;
    39}
    40
    41 public String getName() {}
    42 return name;
    43}
    44
    45 public void setName (String name) {}
    46 myIdName = name;
    47}
    48
    49 getSalary() long public {}
    50 return salary;
    51}
    52
    53 public void setSalary (long salary) {}
    54 this.salary = salary;
    55}
    56
    {57 public Sub addProject (project)
    58 if (! getProjects () .contains (project)) {}
    59 getProjects () .add (project);
    60}
    61 if (! project.getEmployees () .contains (this)) {}
    62 project.getEmployees () .add (this);
    63}
    64}
    65
    66 public Collection < Project > getProjects()}
    67 projects of return;
    68.}
    943
    75

    @Stateless 13
    14/public class EmployeeServiceBean implements {EmployeeService
    15 @PersistenceContext (unitName = "EmployeeService")
    16 protected EntityManager em;
    17
    18 public employee createEmployee (String name, long salary) {}
    19 employee emp = new Employee();
    20 emp.setName (name);
    21 emp.setSalary (salary);
    22 em.persist (emp);
    23
    24 return emp;
    25}
    26
    @Override 27
    28 public employee addEmployeeProject (int empId, int PROJID) {}
    29 employees emp = em.find (Employee.class, empId);
    30 Project proj = em.find (Project.class, PROJID);
    31 proj.addEmployee (emp);
    32 return emp;
    33}
    34
    @Override 35
    36 public Collection < employee > findAllEmployees() {}
    37 query query = em.createQuery ("SELECT employee e");
    38 (Collection < employee >) return query.getResultList ();
    39}
    40}

    Could someone explain why this exception takes place and that it could be made to resolve the issue? I am re - create a Pro JPA 2 exercise (works very well with Ant) with Netbeans 6.9.1, JDK 1.6.0_23 on Windows 7 platform.

    Your advice would be greatly appreciated.

    Thank you very much

    Jack

    Ah, Netbeans. Use ecli...

    I want to say is you peut run in a Netbeans cache bug http://netbeans.org/bugzilla/show_bug.cgi?id=169562 that you should not be since the patch was tagerted to 6.8.
    Try to clear the cache on Clean & Build and see if that is the question.

  • Using WLST to test existing data source

    Hi Forum,

    I wonder if its possible to test an existing source of data (WL10.3) connection using WLST. Ideally, I would like to write something to check connectivity e2e. I prefer this rather than enter the details of the DS and external test for Weblogic. It would be also better to add some test the functionality of the application and the exhibitor. Thanks for the pointers.

    Kind regards
    Baños.

    Hello..

    It is a method on the JDBCDataSourceRuntimeMBean, which is located in the serverRuntime tree...

    for example.

    serverRuntime()

    CD ('JDBCServiceRuntime')

    CD to target you.

    CD ('JDBCDataSourceRuntimeMBeans')

    then cd into your data Source and testPool method is available here.

  • I use an ipad to a friend not locked... I have myself a code and a apple ID... It works well, now afete upgrade to the latest os blocked .i and wonder the old apple... what to do ID. ?

    I use an ipad to a friend not locked... I have myself a code and a apple ID... It works well, now aferupgrading in the last os blocked .i and wonder the old apple... what to do ID. ?

    Hello

    You describe Activation Lock, which prevents the unauthorized use of the iPad if it's lost or stolen.

    This can be disabled by the person who helped him either entering their Apple ID and password of the device or to remove the iPad from their list of devices to find my iPhone via iCloud.com.

    If the friend who sold or gave the iPad for you is the original owner and who has activated locking Activation, they can try to recover their Apple ID information and forgotten password if they have forgotten one or both of them:

    If they cannot recover this information (and therefore can't follow the steps described above), but they still have their proof of purchase as the original owner of the iPad, ask them to accompany you and the device to a Genius Bar appointment, where Apple may be able to help by removing the lock.

    If you can not organize or any of these measures, then you will not be able to use the iPad. There is no way around this security feature.

    More information and instructions:

    Turn off find my iPhone Activation Lock - Apple Support

  • My laptop and my iPad give me the access code and no other options

    I had already downloaded firefox home on my laptop and my iPad. After some problems with the app on my iPad, I decided to remove the app on my iPad and reinstall it. I did not remove the app on my phone.
    I downloaded the app on my iPad now and try to add as a new device.

    After you select 'I already have a sync account', on my laptop and iPad, both devices are give me an access code and tell me to come in on the other device. I don't give me no other options.

    I'm obviously something wrong, can you please tell me what.

    Thank you

    Hi nzluke,

    Then you previously installed sync successfully on your laptop? You may need to redefine your account and for this you will need your recovery key and the following steps

    If you do not have the recovery key, your only option is to reset the recovery key. To do this, follow these simple instructions:

    1. Click on «Set up Firefox Sync»
    2. Click on 'Connect' as I already have an account.
    3. In this window, forget the code and click on 'I don't have the camera with me' right underneath the 3 boxes.
    4. In this window, under the 'Sync key' field, there is a paragraph with a link to the end. "I lost my other device."
    5. Click on it and follow the instructions. In the end, you'll be ready to go. Just reset your Firefox Home app and that's all.

    Hope this helps!

Maybe you are looking for