More appropriate to validate a dependency filter parameter by mock+stub or by expression compile?

My lead is enforcing TDD on our project. He says he's following Uncle Bob (Robert Martin) and SOLID principles. One of the rules he's reinforcing is what I call "the single cog rule"--there should be no more than one cog in the implemented chain in
your unit test.
We have a component that has a repository (IRepository) dependency. We've mocked the repository. The component that fetches from the repository passes a predicate to filter the list of items to be returned. My implementation had stub data get returned from
a mock (Moq) repository and executed the predicate passed in from the component's invocation to filter the stub data, and the test validated that the filter accomplished an obvious filtering requirement by stubbing an implementation on the mock repository
and invoking the mock repository's implementation. My lead clobbered this implementation and replaced it with an invocation of this:
protected static Expression<Func<T, bool>> RepositoryFilterVerification<T>(T entity)
return It.Is<Expression<Func<T, bool>>>(y => y.Compile().Invoke(entity));
His concern is that by executing the expression by stubbing the mock and invoking the mock the test is doing too much.
I was wondering what others felt about this.

As you now describe it, I agree with your lead. What you need to test about your method is that it passes the correct predicate to
the repository. What the repository does with the predicate belongs in a test of the repository unit.

Similar Messages

  • Absolutely the WORST customer service!!! Customer disservice is more Absolutely the WORST customer service!!! Customer disservice is more appropriate! Bring back support to the U.S.!! Bring back support to the U.S.!

    Absolutely the WORST customer service!!! Customer disservice is more appropriate! Bring back support to the U.S.!

    Hi richmc. I will only deal with the last part of your message.
    You say that you want to use Outlook 2007 to collect your mail. That is not a problem, it is just an email client. BT do not supply this email client. Microsoft do.
    You cannot expect BT to be able to assist customers with all the different email clients available to use. You can get the server details etc to set it up yourself.
    Most ISP's are the same on support issues for things that they do not supply.
    BT do have a paid support service if you did want to use it but for things like email setup it should not be needed.
    You also say that you have your own domain names. These NEED to be hosted somewhere to be able to use them for email.
    I don't believe that BT do hosting anymore(Could be wrong). So you would need to get in touch with a hosting company, someone like Nethosting, 1&1, GoDaddy etc to set up an email hosting account and then set up your email client to your hosting companies email servers.
    toekneem
    http://www.no2nuisancecalls.net
    (EASBF)

  • URGENT: passing more than one value at the same parameter

    Hello friends at www.oracle.com,
    if I have a Forms program that sends some parameters to a Report, how can I send more than one value at the same parameter that is being sent?
    For example: the Reports parameter P_CODE should receive (from Forms) and print the values 1, 2, 3 and 4, each one in a different page. But, only 4 is being printed, and these values aren't saved at a database, so I have to pass the other three values too. How can I solve this problem?
    This is quite urgent and I need help on this.
    Best regards,
    Franklin Gongalves Jr.
    [email protected]

    Thanks to Oracle Reports Team for answering! I'm sure this will work.
    Best regards,
    Franklin Gongalves Jr.
    [email protected]
    hello,
    on the forms side, you will have to build the list for this parameter by e.g. string concat.
    on the reports side you will have to "decode" this parameter according to how you built it in forms.
    e.g. if you pass the list like this "10~20~30" you might use a where-clause in the query
    ... where instr(myCol, :myParam) >0
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

  • Pass Value from one screen to another screen filter Parameter

    Hi i am developing LightSwitch HTML client using VS 2013
    need some ideas for,
    I am having one browse screen for eg please refer the below,
    BrowseEmployee 
    ID
    Name
    Age
    1
    Srikanth
    25
    2
    Ashok
    25
    when i click on any row, it will lead to another screen (Not to the same entity View screen). In the another screen i am going to show with the lot of details,
    ViewResourceAllocation
    ID
    Name
    Role
    Allocation
    1
    Srikanth
    Developer
    0.5
    1
    Srikanth
    Architect
    0.5
    2
    Ashok
    Tester
    0.6
    2
    Ashok
    Manager
    0.4
    and in this screen i am pulling from SQL view entity, this will have ID field which is common to the previous screen (BrowseEmployee)
    Now my question is,
    1. If i click the ID 1 employee in the 1st screen here i need to show only the Employee ID 1 details alone.
    2. Even i tried to pass the value as parameter to the filters in the second screen, nothing is working out.
    so it will be convenient if i pass the value as filter parameter to the other screen. 
    Can anyone please tell me how to sort out this issue ?
    thanks!

    Hi Srikanth,
    For this issue, you need pass parameter to another screen, this will help you,
    See:
    How to Open a Open Another Screen (with or without Parameters) 
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Using "Object from this query" as a filter parameter

    Hi Folks,
    I am looking to find a solution to a requirement where I need to filter data in a report based on the current year. I do not want to use the BEx functionality for filtering and want to leverage the BObj query filters. My idea was to create a "variable" in the BObj query to get the current year and hopefully use that as a filter parameter for 'Object in this query". But The options "Object in this query" and "Result from another query" are greyed out. I am using BObj 4.0 patch 12.
    Do any of you have suggestions on how to accomplish this.
    Regards,
    Doniv

    Hi,
    prerequisite to using the operators you mention is to have 2 dataproviders queries first.
    However, it might be that those kind of operators aren't implemented for the current BICS interface, same goes with Unions, OR operator.
    I know you can do this with Relational UNX, but BEX direct access has shortcomings in the query panel.
    might be worth to try this again if you can get your hands on FP03 ramp up.  things change again , for the better, there.
    Regards,
    H

  • What SAP module is more appropriate for my background?

    HI,
    I'm very interested to join a SAP course in India but i'm really not making any decision so far. which module is more suitable for me and my background.
    I have done my Master in "computer science" and my undergrad in "Education in computer". I've asked some guys and some have advised me to go for Basis or BI. I'm telling you that I have no experience in SAP world but I'll take a step further to join the most appropriate course that meets my background.
    my Questions are:
    - Any requirements to study SAP Basis/BI module in an authorized institute?
    - What do u suggest me to study?
    plz share your experience :):):)

    BTW, I'd like to get some advices about my situation:
    i'm interested to enter into SAP world but i duno which way is more appropriate for me:
    1- join a course in a non-authorized institute in India for about 2 months (2 h/day) then join SIEMENS institute (8 h/day) which is authorized then do the exam to be a SAP certified consultant. [a long way, total of studying is 3 months, will cost a bit more]
    2-  join a course in SIEMENS institute then do the exam to be a SAP certified consultant. [short period .. just 1 month, intensive]
    Things to bear in mind:
    - no experience in SAP world.
    - the aim of studying in a non-authorized institute is to enter into SAP world and make sure if the module is suitable for u or need to switch to another one. studying in a non-institute is a bit cheap.
    what do u recommend me to do?
    cheers,

  • Template depends on parameter

    Hi!
    I have one input parameter p_template_name and few rtf templates.
    Is it possible to make that template depends on parameter?
    (if :p_template_name=1 then use template1.rtf
    if :p_template_name=2 then use template2.rtf)
    How can l do this?
    Thanks!

    Ops...
    This looks nice, but when i whrte row <?import:file:///d:/temp/tctemplates.rtf?> into my rtf template as in article,
    Publisher gives me error: "The report cannot be rendered because of an error".
    What's wrong?

  • Get-aduser compare attributes inside the -filter parameter

    Hello all,
    What I would like to do is use the -filter parameter of get-aduser to compare 2 attributes within the search itself, instead of having to process the differences afterwards.
    So here is how I normally use -filter:
    get-aduser -filter {(name -like "*") -and (displayname -like "*")} -Properties displayname | `
    Foreach-object{
    If($_.name -eq $_.displayname){
    "Match!"
    As you can see, I have to get all the users and their properties first, and then subsequently I have to use a ForEach-Object loop to determine if there are any matches.
    What I would like to do is do the comparison in the -filter parameter. Something like this:
    get-aduser -filter {name -eq displayname}
    However, I'm not aware of any way to compare attributes within -filter, and I wonder if anyone knows of a way? Or is a subsequent loop the only way to compare?

    Hi,
    You can use -and in the filter:
    Get-ADUser -Filter "SamAccountName -eq 'smithr' -and GivenName -eq 'Robert'"
    I'm not exactly sure if this is what you're asking about though.
    EDIT: I think I know what you're asking now. AFAIK, there is no way to use -Filter to return users who have the same DisplayName attribute as their Name attribute. You need to have something concrete to test against inside of the filter.
    Don't retire TechNet! -
    (Don't give up yet - 12,950+ strong and growing)

  • Reports 6i parameter-2 is dependent on parameter-1

    Hi,
    In 6i,
    Parameter-1 & 2 are of list of values and 2 is dependent on parameter -1.
    How to get this done in parameter form.
    ex;
    parameter -1 -----> p_deptno
    parameter-2 --------> p_empno,
    Now at parameter form i want to
    get all employee which are in department choosen is parameter-1.
    How to do this.
    Help me.
    Thaks in advance.

    Hi..
    I was able to incorporate the list of values in 10g - based on the same sample from the Metalink.
    I had the need to do it from three tables and also incorporate the "ALL" value in the p2 and p3 params so the user can either select a particular one or just choose "ALL" to run it for all the values.
    I was able to modify the code - after some trial and errors - it now works perfectly..

  • SSRS report with tabular model - MDX query to filter parameter data based on Tuple value.

    Hello Everyone,
    I am working on SSRS report in which a tabular model is being used as a backend.
    I want to filter the report parameters which are dependent to other parameters. Like, country, state, and cities drop downs.
    All are multi-select parameters. I am using MDX queries to filter the parameters data.
    Based on selected one or more countries, the data of states needs to be filtered.
    The point is the text which is being displayed in state dropdown for each state name is combination of 3 different members.
    So, I created the following Tuple for the same and can see the expected display names in states dropdown.
    "("+
    [Location].[Code 1].CURRENTMEMBER.UNIQUENAME +","+
    [Location].[Code 2].CURRENTMEMBER.UNIQUENAME +","+
    [Location].[Descr].CURRENTMEMBER.UNIQUENAME +")"
    Now, when I would like filter the cities data based on selected one or more states, I am unable to pass the multiple Tuples (more than one selected Tuples) as parameter for cities dropdown.
    The following is my query for City parameter. It is working well when I select only one State from the dropdown.
    However, when I select multiple states, it is unable to convert the Tuple into SET in ELSE part of IIF condition specified in following query.
    Can anybody help me how to resolve the error that I am getting about STRTOSET function?
    Or
    Are there any other alternatives to achieve this requirement?
    Any help would be much appreciated.
    Query:
    WITH MEMBER [Measures].[ParameterCaption] AS [City].[City Business].CURRENTMEMBER.MEMBER_CAPTION
    MEMBER [Measures].[ParameterValue] AS [City].[City Business].CURRENTMEMBER.UNIQUENAME
    MEMBER [Measures].[ParameterLevel] AS [City].[City Business].CURRENTMEMBER.LEVEL.ORDINAL
    SELECT {[Measures].[ParameterCaption], [Measures].[ParameterValue], [Measures].[ParameterLevel]} ON COLUMNS ,
    [City].[City Business].Children ON ROWS
    FROM (
    SELECT ( STRTOSET(@State, CONSTRAINED) ) ON COLUMNS FROM [Model])
    WHERE ( IIF( STRTOSET(@State).Count= 1,
    STRTOTUPLE(@State, CONSTRAINED),
    STRTOSET("{
    ("+
    [Location].[Code 1].CURRENTMEMBER.UNIQUENAME +","+
    [Location].[Code 2].CURRENTMEMBER.UNIQUENAME +","+
    [Location].[Descr].CURRENTMEMBER.UNIQUENAME
    + ")
    }",CONSTRAINED )) ) CELL PROPERTIES VALUE
    Thanks, Ankit Shah
    Inkey Solutions, India.
    Microsoft Certified Business Management Solutions Professionals
    http://www.inkeysolutions.com/MicrosoftDynamicsCRM.html

    Hi,
    I used following dynamic query in expression of dataset of parameter and it works like a charm.
    "WITH MEMBER [Measures].[ParameterCaption] AS [City].[City Business].CURRENTMEMBER.MEMBER_CAPTION "&
    "MEMBER [Measures].[ParameterValue] AS [City].[City Business].CURRENTMEMBER.UNIQUENAME "&
    "MEMBER [Measures].[ParameterLevel] AS [City].[City Business].CURRENTMEMBER.LEVEL.ORDINAL "&
    "SELECT {[Measures].[ParameterCaption], [Measures].[ParameterValue], [Measures].[ParameterLevel]} ON COLUMNS , " &
    "[City].[City Business].Children ON ROWS " &
    " FROM [Model] WHERE ({"& join(Parameters!Location.Value,",") &"}) CELL PROPERTIES VALUE"
    Thanks, Ankit Shah
    Inkey Solutions, India.
    Microsoft Certified Business Management Solutions Professionals
    http://www.inkeysolutions.com/MicrosoftDynamicsCRM.html

  • What to learn? Illustrator, InDesign, or something else more appropriate?

    Hello All,
    I couldn't find an appropriate place to post this discussion, but I thought I would start here as I saw a similar discussion in this forum.
    I have been a musician for a long time, running my own ensemble, but recently I have decided to pursue a path in arts administration, a sector in which I have moderate experience.
    Still going to keep my music and ensemble going, but to bolster my resume as well as my skills to help my own ensemble, I've decided to take classes and pursue certification in web/graphic design at a local Art/Design college.
    These days arts administration job postings seem to be looking for candidates that also have some digital media skills.
    I'm starting off with a basic web design classes to become familiar with Dreamweaver, HTML, CSS.
    This Art/Design College also offers courses in Illustrator, InDesign, and Photoshop. I will probably next take Photoshop, but wondering whether to take Illustrator or InDesign, or something else?
    I think I understand what the two do, but would appreciate real world advice. I could take both, but I am wondering if I would spread myself too thin?
    These arts admin jobs are probably looking for someone that can update/maintain websites, prepare images/videos/audio for websites; but also probably someone who can create simple flyers and brochures if needed. That is when I thought of InDesign. I also assume that InDesign also helps in preparation of pdf/documents for websites?
    But I am also interested in Illustrator because for my ensemble, we occasionally create moderate-sized banners as stage design elements, and as lobby displays. I often hired a designer to create some new artwork, do the layout, and prepare the files for printing on a large format printer. It would be nice to have a little more control in the whole process, so I thought I might learn Illustrator, but it seems like InDesign covers some of these tasks... ??
    I don't know if I am very much off the mark in the functionality of these two. Both seem very interesting, and both probably useful in both my marketability in the job market and my personal work. But I would probably feel more comfortable become very proficient in one rather than a novice in both. I would take both if many people here find good reason to do so.
    Any guidance would be appreciated...

    There are basically two different kinds of computer graphics: raster-based (arrays of pixels) and vector-based (stacks of mathematically-defined paths).
    Web-centric work is overwhelmingly more dependent upon simple raster images.
    Several technologies enable the web to deliver vector-based artwork. Websites which do that are generally more sophisticated.
    Photoshop (and programs like it) is for creating/editing raster images.
    Illustrator  (and programs like it) is for creating/editing vector-based graphics.
    ( By the way, you seem to have overlooked video, which is becoming as ubiquitous a content type as the other two.)
    Then, there are programs dedicated to "page assembly"; the work of combining raster artwork, vector artwork, and text into finished whole documents.
    InDesign (and programs like it) is primarily for page assembly of documents destined for commercial print.
    Dreamweaver is primarily for "page assembly" of web pages.
    However:
    Programs like InDesign and programs like Illustrator are far more similar than you'll commonly hear from conventional-wisdom. Both so-called "page layout" programs and "vector drawing" programs are what I try to explain as "object based" (not to be confused with the term 'object oriented programming', which is another thing entirely). That is, they both create documents containing stacks and arrangements of individual and independent objects. Those objects can be any combination of text objects, raster objects, and vector objects.
    The difference in that regard is this:
    Programs like InDesign are almost entirely geared toward assembly of moderate-to-high page-count "bookish" print documents containing long threaded text stories, and repetitive page layouts.
    Programs like Illustrator are ostensibly geared toward creation of vector-based artwork. But the truth of the matter is, they are really just as much intended for (and just as frequently used for) whole page design as for standalone illustration.
    The vast majority of "page layout" projects are more graphics-intensive than text-intensive, involve low-page count, and less-repetitive page-to-page design. In other words, placement ads, fliers, mailers, brochures, business cards, stationery, etc., etc. The typical freelance illustrator/designer produces far more of these types of projects in a year than the kinds of "bookish" projects which programs like InDesign expedite. And the "dirty little secret" is: It's actually more efficient to build these kinds of common whole-document design projects in a decent so-called "vector drawing" program than in a conventional-wisdom "page layout" program.
    Here's The Thing:
    The fact is, all of Adobe's core applications (Photoshop, Illustrator, InDesign) had their beginnings in the days of the desktop-publishing "revolution" of the mid-80s. They are all highly print-oriented. They have all gradually acquired over the intervening decades more "me, too" web-centric features. But the truth is, no one seriously uses Illustrator or InDesign for generating finished web pages. These programs are still primarily rooted in content creation for print. It's just that once you've created a graphic for print, it's a simple thing to dumb it down to re-purpose it for web.
    And that's actually a good thing, because…
    Here's The Other Thing:
    The vast majority of commerical enterprises which buy graphics and design do not only market themselves on the web. Despite decades-old buzzword claims to the contrary, print is very, very far from "dead." And the ugly truth is, when you are creating graphics for a both print and web delivery, it makes far, far more sense to develop for print first, web second. Understand; I said graphics.
    Here's The Other Other Thing:
    Anyone seriously involved in computer graphics in general (whether for web or print) needs to be at least well-versed and intelligently conversant in all three functions: Raster imaging, vector graphics, and page assemby, and how they relate.
    Beyond that, anyone seriously involved in print publishing also needs to be at least conversant in print-centric technicalities. Color separation. Halftoning. Process color versus spot color. Ink on paper. Color correction versus color calibration. The vast majority of print-centric content creation is done in programs like Adobe's core applications. But courses which merely teach how to use a specific graphics software, typically merely touch upon those other very important related technical subjects.
    Beyond that, anyone seriously involved in web publishing also needs to be at least conversant in web-centric technologies. Nowadays, basic HTML and CSS is not enough. It's big-yawn, archaic kid-stuff. The days of the dumb, standalone web page are numbered. Nowadays there's client-side scripting (Javascript), server-side scripting (PHP), and database back-ends (SQL) and all of these are becoming ubiquitous, even for fairly modest websites.
    Back To The Three Basics
    So the "big three" fundamental functions (raster images, vector graphics, page assembly) are just that—fundamental. For the vast majority of basic web use, creation of raster and vector graphics is much less technically demanding than for print. They are really rather mundane, and can be done with programs far less expensive and requiring far less time to learn. There exists a plethora of raster imaging and vector drawing programs. Some good and widely-used ones can be had for free (GIMP, InkScape).
    As for web page assembly, Dreamweaver is sort of "last of the dying breed" of WYSIWYG web page layout applications. These factors are at play:
    As mentioned above, even modest websites nowadays need data-driven functionality. Making a page clean and attractive is just basic design principles. Meanwhile, let's face it: There's only so many arrangements within the rectangle of a web browser window that make good sense for clean, clear, intuitive, and efficient navigation.
    Meanwhile, the average-joe web developer just doesn't have time to continually re-invent the drop-down menu wheel. There won't be anything special or innovative about it anyway (and even if it were, it would be more annoying to users than anything else). He's too busy figuring out the schema of delivering the content. 'I need this kind of data to be organized and accesible by this kind of visitor. I need this particular story to be editable by this particular in-house staffer, who knows nothing about HTML code. My customer needs to be able to routinely upload data refreshes, and he doesn't have time to know web code either.'
    Also meanwhile, people have grown weary of continually "upgrading" their WYSIWYG web editor to get a few piecemeal proprietary features, each with its own proprietary interface and learning curve.
    So the simple "practicality vaccuum" of it all has given rise to open source server-side WYSIWYG website assembly tool (Joomla, WordPress, etc.) which provide robust SQL data-driven functionality, and do it for free. These kinds of solutions are quickly supplanting the position of traditional web editors like Dreamweaver.
    Bottom line:
    If I were in your shoes, and really did intend to focus entirely on direction of web-centric advertising, marketing, and graphics, I really woudn't be all that concerned with specifically-Adobe apps anyway. There are scads of web developers out there who never touch a WYSIWYG web page editor. And creating a graphic in GIMP or InkScape is small-potatoes no-brainer. There's no reason to become immersed in Photoshop and Illustrator esoterica for creating individual web images; you can do it with most anything. I'd be focusing on web-centric technology and delivery schema. I'd also want to be conversant in database fundamentals.
    On the other hand, if I were in your shoes and intended to focus on art direction of all aspects (web and print) of a company's advertising, marketing, graphics, and information delivery, I would consider it a necessity to be converant (maybe even working-proficient) in programs like Photoshop and Illustrator. InDesign would be somewhat less important unless the business is publishing "bookish" or "magazine-like" documents.
    JET

  • Associative Array with more than one field - retrieving as output parameter

    Hello,
    I'm developing an C# Application that is showing a datagrid with results from a PL/SQL procedure inside a Package.
    The .net project is in .net 4 and the DB is an oracle 10g.
    I have read the odp.net sample about the associative array. I could successfully pass as an input parameter a string[] and dealing with it inside my PL/SQL procedure.
    Now it become more complex to me because I would like to return an associative array defined like this :
    TYPE r_FinalExtract IS RECORD
    RecordmyTable myTable%ROWTYPE,
    Tel1 varchar2(25),
    Tel1Libelle varchar2(50),
    Tel2 varchar2(25),
    Tel2Libelle varchar2(50),
    Tel3 varchar2(25),
    Tel3Libelle varchar2(50),
    Tel4 varchar2(25),
    Tel4Libelle varchar2(50),
    Tel5 varchar2(25),
    Tel5Libelle varchar2(50),
    Email1 varchar2(50),
    Email1Libelle varchar2(50),
    Email2 varchar2(50),
    Email2Libelle varchar2(50)
    TYPE t_FinalExtract IS TABLE OF r_FinalExtract INDEX BY BINARY_INTEGER;
    You can guess my PL/SQL stored procedure is filling this collection.
    The spec of my procedure :
    PROCEDURE P_SELECTDATA( ptab_ListRef IN t_AssocArrayVarchar2, ptab_Result OUT t_FinalExtract );
    Unfortunately, in my .net project, I don't know how to deal with that.
    I tryed to add p_Result as an output parameter but you have to define the OracleCollectionType for that parameter and the array type is not the good one because my t_FinalExtract is not a simple array...
    I searched over the internet and the only one thread I could find is someone who was doing like me... and finally reply to his own thread 3 months later and said that he had to create CSV lines and return a table of varchar2...
    This is what I will do because I'm loosing time for finding the way to do it with my associative array, but if someone has the solution I would be glad to read it.
    Thanks in advance.

    For PL/SQL records, I would recommend using User-Defined Types (UDTs), rather than associative arrays.
    You can read more on how to use ODP.NET UDTs here:
    http://docs.oracle.com/cd/E20434_01/doc/win.112/e23174/featUDTs.htm#CJAGCAID
    Strictly speaking, ODP.NET doesn't support PL/SQL Records per se. Instead, ODP.NET supports building any generic UDT in the Oracle DB, which covers the effective functionality of a Record.
    If you want to walk through the process of taking a sample DB UDT, generating a .NET custom class, then passing an instance between DB and application, here's a tutorial that shows you how to do that:
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/dotnet/userdefinedtypes/userDefinedTypes.htm

  • How to Validate or test SJW parameter For HS CAN Node?

    Hi All,
    To paraphrase the Question asked in the post, If the CAN parameters for Baud rate, Tq, BRP ,Prop Seg 1, PRop Seg 2 are all programmed with proper Tq. How to test them ?
    I have worked on CAN Stress Tool to test Sample point of a  CAN Bit for a HS Node  I achieved this by disturbing a Transmit message from the ECU at Tq level and confirm the sampling point by observing Stuff ERRORs ( for the HS node chosen, NBT -  was 16 Tqs)
    However, please share information in case any one had tested/ Validate SJW parameter for a CAN node. 
    Please also  provide information on Bench setup/ Test Steps if any required.
    Tq- Time Quanta
    BRP -Baud Rate Prescalar
    HS-High Speed
    NBT - Nominal Bit Time
    Thanks,
    Gouri

    Hi All,
    To paraphrase the Question asked in the post, If the CAN parameters for Baud rate, Tq, BRP ,Prop Seg 1, PRop Seg 2 are all programmed with proper Tq. How to test them ?
    I have worked on CAN Stress Tool to test Sample point of a  CAN Bit for a HS Node  I achieved this by disturbing a Transmit message from the ECU at Tq level and confirm the sampling point by observing Stuff ERRORs ( for the HS node chosen, NBT -  was 16 Tqs)
    However, please share information in case any one had tested/ Validate SJW parameter for a CAN node. 
    Please also  provide information on Bench setup/ Test Steps if any required.
    Tq- Time Quanta
    BRP -Baud Rate Prescalar
    HS-High Speed
    NBT - Nominal Bit Time
    Thanks,
    Gouri

  • EzVPN or L2L - which is more appropriate?

    I am in the process of desiging a solution to connect approximately 20 teleworkers to our network for the purposes of working from home. The remote users will have some form of broadband connection (cable or DSL). We have both a VPN3030 and a PIX515e(v7) in our inventory to use as the head end device. My hope is to use the 3030 since it is already in use for L2L and VPNC connections. I have an 871 router in house for testing, it seems like a good choice for the job. My questions are this:
    1. Is the 871 the right device for the job? If not, what is?
    2. Since the broadband connections will have dynamic IP addresses what is the most appropriate VPN type L2L or EZ?
    Any advice will be appreciated. Thanks in advance,
    Mike

    Not sure how the LAN-to-LAN users connect currently on the VPNC. How many users do you have behind the 871 ? If it is one user, then i think the Ezvpn should do, more than 3 or 4 users you can look at a L2L

  • Dynamically Load Subreport depends on Parameter?

    Hi
    I am wondering if it is possible to create a crystal report that includes a sub-reports section, which can load different subreport (.rpt) file into that section dynamically depends on the Parameter. E.g.
    @ReportID = 1
    then it load abc.rpt as a subreport
    @ReportID = 1
    then it load apple.rpt as a subreport.
    Could you give me some suggestion about what do i need to do, If I want to create a report like that.
    Many thanks
    Chi

    Chi,
    you can create parameter {?ReportID} in main report and then create 2 sections for subreport abc.rpt  and apple.rpt .
    If you want have subreports in report header then you have to create 2 sections of report header.
    Each subreport has to be in separate section.
    Then go to Section Expert and enter following  into suppress formula for those sections:
    for section with abc.rpt  :  {?ReportID}<>1
    for section with apple.rpt :  {?ReportID}<>2
    That's it.
    Hope it helps.
    Lena

Maybe you are looking for

  • Since installing Yosemite, Airplay with Freebox not working

    Since installing Yosemite, Airplay with Freebox not working With Maverick Airplay working well

  • Can I block part of quantity of a material in a bin?

    Dears, I want to find a solution that blocking material partially in a storage bin in WM. Is there any standerd solution in WM? Please help! Thanks. Regards, David

  • Why do I find unknown e-mail addresses when I begin to type in a known address?

    I'm using an IMac and am up to date on my version of OSX, V10.8.4 and have discovered a problem with Mail. When I want to send an e-mail I will type in the address. The first letter of that address triggers a drop down box showing all the e-mail addr

  • User exit in VL02N saving

    Hi! Can anyone please tell me, which user exit is running during the VL02N delivery saving?  I can check the user exits, but I don't know which one is executed when I save the document. I'll reward only the useful answers, please read the thread care

  • Preparing for iPhone 4S

    I intend to purchase an iPhone 4S next week whilst away from home to replace my current iPhone 4. As I may be away from home and my main home PC for a while before getting chance to sync the new iPhone 4S, I am wondering what is the best way to prepa